package com.yumingjiang.userserivce.service;

import com.yumingjiang.api.model.user.UserModel;
import com.yumingjiang.api.userserivce.UserServiceFacade;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @description:
 * @author: John
 * @version: UserServiceFacadeImpl.java, v1.0 2024年12月08日 21:56
 */
@DubboService(interfaceClass = UserServiceFacade.class)
public class UserServiceFacadeImpl implements UserServiceFacade {
    @Override
    public UserModel queryUser(String name) {
        UserModel userModel = new UserModel();
        userModel.setName(name);
        return userModel;
    }
}